IBM Support

JR64737: ADDING A DISCRETIONARY ACTIVITY, WHICH UPDATES CASE PROPERTIES FOR A CASE, FAILS WITH CASE SEQUENCE MISMATCH ERROR

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

Direct link to fix

 

APAR status

  • Closed as program error.

Error description

  • The 'Add Activity' button can be used to add a discretionary
    activity after a case is created.
    If a discretionary activity created is a Business Automation
    Workflow process and contains a script that updates case
    properties, an error is logged and the activity is not created.
    
    The error seen in case client would be similar to:
    
    com.ibm.casemgmt.contentservices.wscpeservice.SavePropertiesFaul
    tMsg:  mismatch of Case Activity update sequence number:
    
    The error logged in the application server would be similar to
    the following:
    
    [3/2/22 13:15:00:743 GMT] 00000fde BPDInstanceRe E
    com.ibm.bpm.rest.impl.coachflow.BPDInstanceResource
    getChangedDataActions ID:t51642, branchID:null,
    snapshotID:2064.<id>, modelID:1.<id>.
    [3/2/22 13:15:00:745 GMT] 00000fde BPDInstanceRe E
    com.ibm.bpm.rest.impl.coachflow.BPDInstanceResource
    getChangedDataActions CWTBG0048E: The task with the ID 51,642
    could not be found.
    
    com.ibm.bpm.wle.api.TaskDoesNotExistException: CWTBG0048E: The
    task with the ID '51,642' could not be found.
        at
    com.ibm.bpm.rest.impl.coachflow.BPDInstanceResource$4.call(BPDIn
    stanceResource.java:451)
        at
    com.ibm.bpm.rest.impl.coachflow.BPDInstanceResource$4.call(BPDIn
    stanceResource.java:431)
        at
    com.lombardisoftware.utility.spring.ProgrammaticTransactionSuppo
    rt$3.doInTransaction(ProgrammaticTransactionSupport.java:594)
    ....
    ....
    [3/2/22 13:28:11:884 GMT] 00000729 ContentObject E
    com.ibm.bpm.content.ContentObjectService
    callCPEWSToSaveProperties Transaction is marked as Rollback, no
    need to retry
    [3/2/22 13:28:11:884 GMT] 00000729 ContentObject E
    com.ibm.bpm.content.ContentObjectService
    callCPEWSToSaveProperties Save failed:  mismatch of  Case
    Activity update sequence number:
    
    com.ibm.casemgmt.contentservices.wscpeservice.SavePropertiesFaul
    tMsg:  mismatch of  Case Activity update sequence number:
        at
    sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
    Method)
        at
    sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCons
    tructorAccessorImpl.java:83)
        at
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delega
    tingConstructorAccessorImpl.java:57)
        at
    java.lang.reflect.Constructor.newInstance(Constructor.java:437)
        at
    org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils
    .createServiceException(MethodMarshallerUtils.java:1331)
        at
    org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils
    .demarshalFaultResponse(MethodMarshallerUtils.java:1142)
        at
    org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedMethodMa
    rshaller.demarshalFaultResponse(DocLitWrappedMethodMarshaller.ja
    va:680)
        at
    org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.getFaultRe
    sponse(JAXWSProxyHandler.java:632)
        at
    org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.createResp
    onse(JAXWSProxyHandler.java:566)
        at
    org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIM
    ethod(JAXWSProxyHandler.java:432)
        at
    org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAX
    WSProxyHandler.java:213)
        at com.sun.proxy.$Proxy223.saveProperties(Unknown Source)
        at
    com.ibm.bpm.api.jaxws.callback.ejbimpl.ICMCallbackFacadeBean.sav
    eProperties(ICMCallbackFacadeBean.java:204)
        at
    com.ibm.bpm.api.jaxws.callback.EJSLocalCSLICMCallbackFacade_e8b2
    8763.saveProperties(EJSLocalCSLICMCallbackFacade_e8b28763.java)
        at
    com.ibm.bpm.api.jaxws.callback.impl.CaseManagerReplyHandler$5.ru
    n(CaseManagerReplyHandler.java:256)
        at
    com.ibm.bpm.api.jaxws.callback.impl.CaseManagerReplyHandler$5.ru
    n(CaseManagerReplyHandler.java:253)
        at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:774)
        at javax.security.auth.Subject.doAs(Subject.java:570)
    
    PRODUCTS AFFECTED
    IBM Cloud Pak for Business Automation
    IBM Business Automation Workflow
    

Local fix

Problem summary

  • No additional information is available.
    

Problem conclusion

  • A fix is available or will be available that ensures a mismatch
    error is not logged when you create a discretionary activity
    that updates case properties after a case is created.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR64737

  • Reported component name

    CLOUD PAK FOR A

  • Reported component ID

    5737I2300

  • Reported release

    L00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-03-21

  • Closed date

    2022-04-14

  • Last modified date

    2022-04-14

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    CLOUD PAK FOR A

  • Fixed component ID

    5737I2300

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSBYVB","label":"IBM Cloud Pak for Business Automation"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"L00"}]

Document Information

Modified date:
15 April 2022